package fun.diaoer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 1800)
@MapperScan(value= {"fun.diaoer.mapper","fun.diaoer.mapper.**"})
public class DiaoerApplication {

	public static void main(String[] args) {
		SpringApplication.run(DiaoerApplication.class, args);
	}

}
